<form id="positionForm">
    <input name="id" type="hidden" th:value="${video?.id}">
    <input name="origin" type="hidden" value="1">
    <div class="form-group row">
        <label for="title" class="col-sm-2 col-form-label">标题:</label>
        <div class="col-sm-10">
            <input type="text" th:value="${video?.title}" name="title" class="form-control"
                   id="title"
                   placeholder="标题" required>
            <div class="invalid-feedback">请输入标题</div>
        </div>
    </div>
    <div class="form-group row">
        <label for="comment" class="col-sm-2 col-form-label">简介:</label>
        <div class="col-sm-10">
            <input type="text" th:value="${video?.comment}" name="comment" class="form-control"
                   id="comment"
                   placeholder="简介" required>
            <div class="invalid-feedback">请输入简介</div>
        </div>
    </div>
    <div class="form-group row">
        <label for="showOrder" class="col-sm-2 col-form-label">顺序:</label>
        <div class="col-sm-10">
            <input type="text" th:value="${video?.showOrder}" name="showOrder" class="form-control"
                   id="showOrder"
                   placeholder="顺序，不在首页显示可不填">
            <div class="invalid-feedback">请输入顺序</div>
        </div>
    </div>
    <div class="form-group row">
        <label for="img" class="col-sm-2 col-form-label">视频:</label>
        <div class="col-sm-10">
            <input type="text" th:value="${video?.img}" name="img" class="form-control"
                   id="img"
                   placeholder="视频地址" required>
            <div class="invalid-feedback">请输入地址</div>
            <br>
            <a type="button" class="btn btn-sm btn-block btn-info coverUploader">上传</a>
        </div>
    </div>
</form>